import 'vant/lib/index.css'
import Vue from 'vue'
import {
  Button,
  Popup,
  Tabbar,
  TabbarItem,
  Card,
  List,
  Sku,
  NavBar,
  Icon,
  Image as VanImage,
  Lazyload,
  Tabs,
  Tag,
  Search,
  Dialog,
  Field,
  Picker,
  Calendar,
  DatetimePicker,
  Empty,
} from 'vant'
const list = [
  Button,
  Popup,
  Tabbar,
  TabbarItem,
  Card,
  List,
  Sku,
  NavBar,
  Icon,
  VanImage,
  Lazyload,
  Tabs,
  Tag,
  Search,
  Dialog,
  Field,
  Picker,
  Calendar,
  DatetimePicker,
  Empty,
]

list.forEach(item => {
  let no_list = []
  !no_list.includes(item) && Vue.use(item)
})